package com.ssy.lingxi.member.merchant.api.model.vo.inner.request;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * 店铺模板服务 - 同步店铺Logo接口参数
 * @author 万宁
 * @version 2.0.0
 * @date 2021-09-27
 */
public class MemberShopFeignVO implements Serializable {
    private static final long serialVersionUID = 6662158106819102043L;

    /**
     * 会员Id
     */
    @NotNull(message = "会员Id要大于0")
    @Positive(message = "会员Id要大于0")
    private Long memberId;

    /**
     * 会员角色Id
     */
    @NotNull(message = "会员角色Id要大于0")
    @Positive(message = "会员角色Id要大于0")
    private Long roleId;

    /**
     * 店铺名称
     */
    @NotBlank(message = "店铺名称不能为空")
    @Size(max = 200, message = "店铺名称最长200个字符")
    private String name;

    /**
     * 供应商店铺Logo
     */
    @NotBlank(message = "店铺Logo不能为空")
    @Size(max = 400, message = "店铺Logo最长400个字符")
    private String logo;

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }
}
